import request from "@/utils/request";
// 登录注册
export function register(data) {
  return request({
    url: "/app-api/member/auth/weixin-mini-app-login",
    method: "POST",
    data,
  });
}
// 获取用户基本信息
export function getUserInfoApi(data) {
  return request({
    url: "/app-api/member/user/get",
    method: "GET",
    data,
  });
}

// 获取用户基本信息
export function editUserInfoApi(data) {
  return request({
    url: "/app-api/member/user/update",
    method: "PUT",
    data,
  });
}
// 获取用户钱包信息
export function getWalletApi(data) {
  return request({
    url: "/app-api/pay/wallet/get",
    method: "GET",
    data,
  });
}
